package com.carlo.service;

import java.util.List;

import com.carlo.bean.MailCfg;
import com.carlo.bean.MailFilter;
import com.carlo.bean.MailInfo;

public interface IReceive {

	/**
	 * 
	* @Title: receive 
	* @Description: 获取符合条件的邮件 
	* @param @param mailCfg			邮件配置内容
	* @param @param mailFilter   	过滤条件
	* @param @return
	* @param @throws Exception    设定文件 
	* @return List<MailInfo>    返回类型 
	* @author carlo
	* @throws
	 */
	public List<MailInfo> receive(MailCfg mailCfg,MailFilter mailFilter) throws Exception;
}
